package com.example.computer_exam_training_sys.service.impl;

import com.example.computer_exam_training_sys.mapper.AdminUserLogVOMapper;
import com.example.computer_exam_training_sys.service.AdminUserLogVOService;
import com.example.computer_exam_training_sys.vo.AdminUserLogVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminUserLogVOServiceImpl implements AdminUserLogVOService {
    @Autowired
    private AdminUserLogVOMapper adminUserLogVOMapper;

    @Override
    public List<AdminUserLogVO> findAdminUserAndLogs(Integer adminId) {
        return adminUserLogVOMapper.findAdminUserAndLogs(adminId);
    }
}
